package designPattern.builder;

import designPattern.builder.Bobject.Book;
import designPattern.builder.Bobject.Media;
import designPattern.builder.Sobject.MediaItem;

public class BookBuilder extends MediaBuilder {
	private Book b;
	public void buildBase(){
		System.out.println("building book framework");
		b=new Book();
	}
	public void addMediaItem(MediaItem chapter){
		System.out.println("Adding chapter"+chapter);
		b.add(chapter);
	}
	public Media getFinishedMedia(){
		return b;
	}
	

}
